package cn.xiaojingyu.test2.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dan
 * @date 2024/7/10 10:29
 */
@Slf4j
@RestController
@RequestMapping("/test2")
@Tag(name = "测试模块2")
public class TestKnife4jController {

    @RequestMapping("message")
    @Operation(summary = "获取通信成功信息")
    public String message() {
        return "项目启动成功, 访问测试接口成功!";
    }
}
